package com.codingapi.demo;

import com.codingapi.swagger.SwaggerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@ImportAutoConfiguration(SwaggerConfig.class)
@EnableTransactionManagement
public class CoreAppApplication {

    public static void main(String[] args) {
        SpringApplication.run(CoreAppApplication.class, args);
    }
}
